package com.giscloud.commons.annotation;

import com.giscloud.commons.enums.EncryptBodyMethod;

import java.lang.annotation.*;

/**
 * @Author:giscloud
 * @Description:加密响应数据，可用于整个控制类或者某个控制器
 * @Date: 15:19 2019/3/18
 * @Modified By:
 */
@Target(value = {ElementType.METHOD,ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface EncryptBody {
    EncryptBodyMethod value() default EncryptBodyMethod.AES;
    String otherKey() default "";
}
